package cn.ch.org.service;

import cn.ch.basic.service.IBaseService;
import cn.ch.org.domain.Shop;
import cn.ch.org.domain.ShopAuditLog;
import cn.ch.org.domain.ShopVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Why
 * @since 2022-02-11
 */
public interface IShopService extends IBaseService<Shop> {

    /**
     * 店铺入驻
     * @param shop
     */
    void settlement(Shop shop);

    //设置审核通过
    void pass(ShopAuditLog shopAuditLog);

    //设置审核驳回
    void reject(ShopAuditLog shopAuditLog);

    //拒绝通过
    void nopass(ShopAuditLog shopAuditLog);

    //查询状态组下的店铺数量
    List<ShopVo> queryStateCount();
}
